<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>block</title>
  <style>
    .b {
      background-color: antiquewhite;
    }
    img {
      width: 100px;
    }
    .box {
      display: inline-block;
      width: 100px;
      height: 100px;
      background-color: antiquewhite;
      margin: 5px;
      text-align: center;
      line-height: 100px;
    }
  </style>
</head>
<body>
  <div class="b">块元素</div>

  <span>行内元素: </span>
  <strong>加粗效果</strong>
  <em>倾斜</em>

  <div>👇 下面的图片, 就是行内块元素</div>
  <img src="http://p1.itc.cn/images01/20200611/b355f238a324427d956161b3a0d02d44.jpeg">
  <img src="http://p1.itc.cn/images01/20200611/b355f238a324427d956161b3a0d02d44.jpeg">
  <span> 👈 </span>

  <hr>
  <div class="box">0</div>
  <div class="box">0</div>
  <div class="box">0</div>
  <div class="box">0</div>
</body>
</html>